<template>
  <div class="dashboard-container">
    <head-tool>
      <div slot="qian">
        前面
      </div>
      <div slot="hou">
        <el-button type="primary"> 开始 </el-button>
        <el-button type="primary">结束</el-button>
      </div>
    </head-tool>
    名字: {{ name }}
    <image-upload />
  </div>
</template>

<script>
// import imageUpload from '@/components/imageUpload/index.vue'
import imageUpload from '@/components/imageUpload/index-zdy.vue'

import { mapGetters } from 'vuex'

export default {
  name: 'Dashboard',
  computed: {
    ...mapGetters(['name'])
  },
  components: {
    imageUpload
  }
}
</script>

<style lang="scss" scoped>
.dashboard {
  &-container {
    margin: 30px;
  }
  &-text {
    font-size: 30px;
    line-height: 46px;
  }
}
</style>
